#ifndef CBOUNDINGBOX_H
#define CBOUNDINGBOX_H

#include "cboundingvolume.h"

class CBoundingBox : public CBoundingVolume
{
public:
    CBoundingBox(void* pObject, CPoint3f MinCoord, CPoint3f MaxCoord);
    ~CBoundingBox();

    bool intersect(CRay *pRay);
    std::string className();
    void getBoundingBox(CPoint3f& Pmin, CPoint3f& Pmax);

    CPoint3f    m_MinCorner;
    CPoint3f    m_MaxCorner;
};

#endif // CBOUNDINGBOX_H
